package com.ruoyi.product.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Activity {
    private Long activityId;
    private String activityName;
    private Long activityType;
    private Long activityStatus;
    private String activityDescription;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityCreateTime;

    // Additional fields to match expected output format
    private Long type;
    private Double value;
    private Double minAmount;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private String activityDesc;
    private String posterUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
